function createCookie(nm,val,y){
	var exp="";
	if(y){ 
		var dt=new Date(); 
		dt.setTime(dt.getTime()+(y*86400000)); 
		exp=";expires="+dt.toGMTString();
	} 
	document.cookie=nm+"="+escape(val)+exp; 
	document.cookie="path=/icssMallWeb/"; 
	document.cookie="domain=192.168.88.211:9876"; 
}   
    
function readCookie(nm){ 
	var m=""; 
	if(window.RegExp){ 
		var re=new RegExp(";\\s*"+nm+"=([^;]*)","i"); 
		m=re.exec(';'+document.cookie); 
	}
	return(m?unescape(m[1]):"");
}

function addCookie(nm,val,t){
	var exp="";
	if(t!=0){ 
		var dt=new Date(); 
		dt.setTime(dt.getTime()+(y*86400000)); 
		exp=";expires="+dt.toGMTString();
	} else {
		exp=";expires=0";
	}
	document.cookie=nm+"="+escape(val)+exp; 
	document.cookie="path=/icssMallWeb/"; 
	document.cookie="domain=192.168.88.211:9876"; 
}